import util from "@/utils/request";
let $axios = util
const getFirmItemList = (params) => {
    return $axios({
        url: `/api/getPartnerCompanyList`,
        method: 'get',
        params
    })
}
const getList = (params) => {
    return $axios({
        url:'/api/getPageCeremonyHallList',
        method:'get',
        params
    })
}
const getHallDetail = (id) => {
    return $axios({
        url:`/api/queryCeremonyHallDetail/${id}`,
        method:'get',
    })
}
const subHall = (data) => {
    return $axios({
        url:'/api/updateCeremonyHall',
        method:'put',
        data
    })
}
const saveHall = (data) => {
    return $axios({
        url:'/api/addCeremonyHall',
        method:'post',
        data
    })
}
const deleteHall = (id) => {
    return $axios({
        url:`/api/deleteCeremonyHall/${id}`,
        method:'delete',
    })
}
export default {
    getFirmItemList,
    getList,
    getHallDetail,
    subHall,
    saveHall,deleteHall
}